package struts2.exception;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class ErrorProcess extends ActionSupport {
	
	private static final long serialVersionUID = 1L;
	
    @Override
    public String execute()
    {
    	System.out.println(ActionContext.getContext().getValueStack().findValue("exception").toString());
        return SUCCESS;
    }
}